<!--{include file="oui/public/header.html"}-->
<!--{include file="oui/public/navibar.html"}-->
<!--{include file="oui/public/sidebar.html"}-->
<div class="header">
    <div class="stats"><p class="stat"><!--旁注--></p></div>
    <h1 class="page-title"><!--{$data.meta.title}--></h1>
</div>
<!--优雅的分隔线-1-->
<ul class="breadcrumb">
    <li><a>控制面板</a><span class="divider">/</span></li>
    <li><a href=<!--{Route->MakeHyperLink Controller=":gather"}-->>网站设置</a><span class="divider">/</span></li>
    <li class="active"><!--{$data.meta.title}--></li>
</ul>
<!--优雅的分隔线-2-->
<div class="container-fluid">
    <div class="row-fluid">
        <!--优雅的分隔线-->
        <div class="well">
            <ul class="nav nav-tabs">
                <li class="active"><a href="#main" data-toggle="tab">图片一</a></li>
                <li class=""><a href="#option1" data-toggle="tab">图片二</a></li>
                <li class=""><a href="#option2" data-toggle="tab">图片三</a></li>
                <li class=""><a href="#option3" data-toggle="tab">图片四</a></li>
            </ul>
            <form class="form" method="post" action=<!--{$data.meta.action}-->>
            <div id="myTabContent" class="tab-content">
                <div id="main" class="tab-pane active in">
                    <input type="hidden" id="id1" name="id[]" value=<!--{$data.base[0].id}-->>
                    <label>标题</label>
                    <input type="text" class="input-xlarge-5" id="title1" name="title[]" value=<!--{$data.base[0].title}-->>
                    <label>链接</label>
                    <div class="input-prepend">
                        <span class="add-on">http://</span>
                        <input type="text" class="input-xlarge-8" id="link1" name="link[]" value=<!--{$data.base[0].link|replace:"http://":""}-->>
                    </div>
                    <label>图片<span id="picture1-error-paniel" class="label label-important hidden"></span></label>
                    <input type="text" id="picture1" name="picture[]" x-upload="true" x-data="picture1-error-paniel" x-upload-ui=<!--{Route->MakeHyperLink Controller=':common_upload'}--> value=<!--{$data.base[0].picture}-->>
                </div>
                <div id="option1" class="tab-pane fade">
                    <input type="hidden" id="id2" name="id[]" value=<!--{$data.base[1].id}-->>
                    <label>标题</label>
                    <input type="text" class="input-xlarge-5" id="title2" name="title[]" value=<!--{$data.base[1].title}-->>
                    <label>链接</label>
                    <div class="input-prepend">
                        <span class="add-on">http://</span>
                        <input type="text" class="input-xlarge-8" id="link2" name="link[]" value=<!--{$data.base[1].link|replace:"http://":""}-->>
                    </div>
                    <label>图片<span id="picture2-error-paniel" class="label label-important hidden"></span></label>
                    <input type="text" id="picture2" name="picture[]" x-upload="true" x-data="picture2-error-paniel" x-upload-ui=<!--{Route->MakeHyperLink Controller=':common_upload'}--> value=<!--{$data.base[1].picture}-->>
                </div>
                <div id="option2" class="tab-pane fade">
                    <input type="hidden" id="id3" name="id[]" value=<!--{$data.base[2].id}-->>
                    <label>标题</label>
                    <input type="text" class="input-xlarge-5" id="title3" name="title[]" value=<!--{$data.base[2].title}-->>
                    <label>链接</label>
                    <div class="input-prepend">
                        <span class="add-on">http://</span>
                        <input type="text" class="input-xlarge-8" id="link3" name="link[]" value=<!--{$data.base[2].link|replace:"http://":""}-->>
                    </div>
                    <label>图片<span id="picture3-error-paniel" class="label label-important hidden"></span></label>
                    <input type="text" id="picture3" name="picture[]" x-upload="true" x-data="picture3-error-paniel" x-upload-ui=<!--{Route->MakeHyperLink Controller=':common_upload'}--> value=<!--{$data.base[2].picture}-->>
                </div>
                <div id="option3" class="tab-pane fade">
                    <input type="hidden" id="id4" name="id[]" value=<!--{$data.base[3].id}-->>
                    <label>标题</label>
                    <input type="text" class="input-xlarge-5" id="title4" name="title[]" value=<!--{$data.base[3].title}-->>
                    <label>链接</label>
                    <div class="input-prepend">
                        <span class="add-on">http://</span>
                        <input type="text" class="input-xlarge-8" id="link4" name="link[]" value=<!--{$data.base[3].link|replace:"http://":""}-->>
                    </div>
                    <label>图片<span id="picture4-error-paniel" class="label label-important hidden"></span></label>
                    <input type="text" id="picture4" name="picture[]" x-upload="true" x-data="picture4-error-paniel" x-upload-ui=<!--{Route->MakeHyperLink Controller=':common_upload'}--> value=<!--{$data.base[3].picture}-->>
                </div>
                <div class="btn-toolbar">
                    <button type="submit" class="btn btn-primary"><strong>提交</strong></button>
                </div>
            </div>
            </form>
        </div>
        <!--优雅的分隔线-3-->
        <script src=<!--{$smarty.const.APP_PATH}-->/view/oui/scripts/library/trigger.upload.js></script>
<!--{include file="oui/public/footer.html"}-->